package com.san.hkhospital.service;

import com.san.hkhospital.dto.Medbuy1;
import com.san.hkhospital.entity.MedBuy;
import java.util.List;
import com.san.hkhospital.entity.MedBuyExample;
import com.san.hkhospital.vo.MedbuyVo;

/**
 * ClassName:MedBuyService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface MedBuyService{


    long countByExample(MedBuyExample example);

    int deleteByExample(MedBuyExample example);

    int deleteByPrimaryKey(Integer medId);

    int insert(MedBuy record);

    int insertSelective(MedBuy record);

    List<MedBuy> selectByExample(MedBuyExample example);

    MedBuy selectByPrimaryKey(Integer medId);

    int updateByExampleSelective(MedBuy record,MedBuyExample example);

    int updateByExample(MedBuy record,MedBuyExample example);

    int updateByPrimaryKeySelective(MedBuy record);

    int updateByPrimaryKey(MedBuy record);

        boolean buymedicine(MedBuy medBuy);

        List<MedBuy> medbuyList();


        List<MedbuyVo> search(Medbuy1 medbuy1);
    }
